package com.zjsd.sqeybusiness.service;

import java.util.List;
import com.zjsd.sqeybusiness.domain.Tcdetail;

/**
 * 套餐明细Service接口
 * 
 * @author Zheng
 * @date 2022-05-10
 */
public interface ITcdetailService 
{
    /**
     * 查询套餐明细
     * 
     * @param detailid 套餐明细ID
     * @return 套餐明细
     */
    public Tcdetail selectTcdetailById(Long detailid);

    /**
     * 查询套餐明细列表
     * 
     * @param tcdetail 套餐明细
     * @return 套餐明细集合
     */
    public List<Tcdetail> selectTcdetailList(Tcdetail tcdetail);

    /**
     * 新增套餐明细
     * 
     * @param tcdetail 套餐明细
     * @return 结果
     */
    public int insertTcdetail(Tcdetail tcdetail);

    /**
     * 修改套餐明细
     * 
     * @param tcdetail 套餐明细
     * @return 结果
     */
    public int updateTcdetail(Tcdetail tcdetail);

    /**
     * 批量删除套餐明细
     * 
     * @param detailids 需要删除的套餐明细ID
     * @return 结果
     */
    public int deleteTcdetailByIds(Long[] detailids);

    /**
     * 删除套餐明细信息
     * 
     * @param detailid 套餐明细ID
     * @return 结果
     */
    public int deleteTcdetailById(Long detailid);
}
